<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style>
          div{
            width: 200px;
            height: 200px;
            border:1px solid red;
            /*溢出设置：
             hidden：超出隐藏
             visible:显示（默认）
             scroll:滚动显示
             */
            overflow: scroll;
          }
          body>img{
            width: 100px;
            height: 100px;
            /*设置行内元素垂直对齐方式:
            top\bottom\middle\baseline*/
            vertical-align: middle;
          }

        </style>
    </head>
    <body>
    <input type="text">
    <img src="../day05/b.jpg" alt="">
        <div>
          <img src="../day05/b.jpg" alt="">
        </div>
    </body>
</html>